<%--
  Created by IntelliJ IDEA.
  User: MSI-PC
  Date: 2021/8/21
  Time: 15:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--<html>--%>
<%--<head>--%>
<%--    <title>loginTest</title>--%>
<%--</head>--%>
<%--<body>--%>
<%--<h1>loginTest</h1>--%>
<%--<form action="${pageContext.request.contextPath}/loginCheck/login" method="post">--%>
<%--    <label>用户名</label>--%>
<%--    <input type="text" name="userId">--%>
<%--    <label>密码</label>--%>
<%--    <input type="password" name="userPassword">--%>
<%--    <input type="submit">--%>
<%--</form>--%>
<%--<p>${msg}</p>--%>
<%--</body>--%>
<%--</html>--%>


<html>
<head>
    <% String path = request.getContextPath();%>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <!-- 引入本地css -->
<%--    <link rel="stylesheet" type="text/css" href="<%=path%>/css/czc_index.css"/>--%>
    <link rel="stylesheet" type="text/css" href="https://www.edisoncgh.com/resources/czc_index.css"/>
    <!-- 引入font-awesome -->
    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/5.15.3/css/all.css" rel="stylesheet">

    <meta charset="utf-8">

    <title>登录</title>
</head>
<body>
<h2 class="text-center">登录</h2>

<div class="container">
    <div class="row">
        <div class="col-md-4"></div>

        <div class="col-md-4">
            <form role="form" action="${pageContext.request.contextPath}/loginCheck/login" method="post">
                <div class="form-group">
                    <label for="name">用户名</label>
                    <input type="text" class="form-control" id="name" placeholder="请输入用户名" name="userId">
                    <br />
                    <label for="name">密码</label>
                    <input type="text" class="form-control" id="name" placeholder="请输入密码" name="userPassword">
                </div>

                <div class="text-center">
                    <button type="submit" class="btn btn-default">提交</button>
                </div>

            </form>
        </div>

        <div class="col-md-4"></div>
    </div>
</div>

</body>
</html>
